package tn.redmine.test_suites.reports.manual;

import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

import tn.redmine.data_models.User;
import tn.redmine.tests.RedmineTestBase;
import tn.redmine.tests.RedmineTests;

/**
 * Test suite - Login and Logout tests
 */
public class KachanReport extends RedmineTestBase
{
	// Tests
	private final RedmineTests redmineTests = new RedmineTests(pilot);

	@DataProvider
	public Object[][] testData()
	{
		User user = new User(pilot);

		return new Object[][]
		{
				{
						user.setFirstName("Eugeniy")
								.setLastName("Kachan")
								.setEmail("eugeniy.kachan@together.com")
								.setPosition("QA Engineer")
								.setCategory("Middle")
								.setLevel("6")
								.setCity("DP")
								.setCompany("TN Labs")
								.setRedmineID("2647")
								.setRedmineProject("dating-2")
		}
		};

	}

	@Test(dataProvider = "testData", enabled = true)
	public void reportManualAction(User p_user)
	{
		redmineTests.reportManualAction(p_user);
	}

}
